<?php
$this->breadcrumbs=array(
	'客户管理'=>array('admin'),
	$model->customer_id,
);

$this->menu=array(
	array('label'=>'客户管理', 'url'=>array('admin')),
	array('label'=>'新建客户', 'url'=>array('create')),
	array('label'=>'编辑当前客户', 'url'=>array('update', 'customer_id'=>$model->customer_id)),
	array('label'=>'删除当前客户', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','customer_id'=>$model->customer_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'下属联系人', 'url'=>array('customercontacts/customer', 'customer_id'=>$model->customer_id)),
);
?>

<div class="remarks">查看客户信息 #<?php echo $model->customer_id; ?></div>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'customer_id',
		'customer_unit',
		'customer_info',
		'customer_billing_add',
		'customer_source',
		array(name=>'customer_status',value=>$model->getCustomerStatusText(),)
	),
)); ?>
